package com.cx.service.lcd.Impl;

import com.cx.mapper.CommunityMapper;
import com.cx.pojo.Community;
import com.cx.service.lcd.CommunityService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommunityServiceImpl implements CommunityService {

    @Autowired
    CommunityMapper communityMapper;

    @Override
    public List<Community> selectByCommunityId() {
        List<Community> communities = communityMapper.selectByCommunityId();
        return communities;
    }
}
